﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace CashFlow.Db.Entity
{
    [Serializable]
    [SugarTable("UserInfo")]
    public class UserInfoEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        public string Phone { get; set; }
        public string Password { get; set; }
        public string Name { get; set; }
        public string InvitationCode { get; set; }
        public string ReferenceInvitationCode { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime LoginTime { get; set; }
        public int State { get; set; }
        public decimal ShopManagerLevelPercent { get; set; }
    }
}